# -*- coding: utf-8 -*-
"""
作者: 肖麒
联系方式：QQ：1505448035
时间: 2025/4/24 15:34
文件作用：
"""
import requests

headers = {
    'accept': 'application/json, text/plain, */*',
    'accept-language': 'zh-CN,zh;q=0.9',
    'cache-control': 'no-cache',
    'pragma': 'no-cache',
    'priority': 'u=1, i',
    'referer': 'https://www.zhipin.com/web/geek/jobs?query=%E7%BE%8E%E5%B7%A5&city=101280600',
    'sec-ch-ua': '"Google Chrome";v="129", "Not=A?Brand";v="8", "Chromium";v="129"',
    'sec-ch-ua-mobile': '?0',
    'sec-ch-ua-platform': '"Windows"',
    'sec-fetch-dest': 'empty',
    'sec-fetch-mode': 'cors',
    'sec-fetch-site': 'same-origin',
    'traceid': 'F-b2f71cciN9ugAmZe',
    'user-agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/129.0.0.0 Safari/537.36',
    'x-requested-with': 'XMLHttpRequest',
}

cookies = {
    'ab_guid': '9dac84e2-9f5e-4bf1-b31e-38906c9d758d',
    'lastCity': '101280600',
    '__g': '-',
    '__l': 'l=%2Fwww.zhipin.com%2Fweb%2Fgeek%2Fjobs%3Fquery%3D%25E7%25BE%258E%25E5%25B7%25A5%26city%3D101280600&r=&g=&s=3&friend_source=0&s=3&friend_source=0',
    'Hm_lvt_194df3105ad7148dcf2b98a91b5e727a': '1752978986,1753273593,1753362446,1754572962',
    'Hm_lpvt_194df3105ad7148dcf2b98a91b5e727a': '1754572962',
    'HMACCOUNT': '438B70711748AC9C',
    '__zp_stoken__': 'deb7fOEHDpsK4wrvCvUIoEhcZFQtFLEFBMTlEOC1JQUA4QTs%2FQjhBQyE8KEbCmsKgwqhpw4g1QS44QUZBPUZBO0IeOEXFgcK4Ojs3w5vCv8KbwqnCrGbDiAjCsMK4Ck8Iw53CuArDpsK8DcKBLy8ewrg4PkA8GcK8wr7Dg0TCvcK4w4lAwrjDgcODPjg8QTI6YWlaEzo4UU5fDEplUWlmVg5WU1kqPEQ%2BO8O9esSBND0MCA0MChcTEhcVEhYXEQsVGRQVFwgMEQgOOT3CpMK4xYHDj8Wiw43EosWsw5PCtcOWwq3DlcO%2Bw5zDu8OMwo%2FEqsKhw5PCmcOIwpnDkMKPxYfCscOYwqjDlsO9w5rDg8S%2BwpDDssKbwo7CvMONZ8KTZcOiw4LCocKhwpTCqcK1wqXCmsKbw6%2FCtsOuwqfDvsKuw4R2w4TCu8KawqzCi8K5w4ZnwqZvwotSwptIU17Cu25OwrxKWlJhwq5awqptUljDgEh5Sl4VYGdnPFrDq8OYw4g%3D',
    '__c': '1754572958',
    '__a': '50204379.1751199165.1753362414.1754572958.75.6.4.75',
    '__zp_sseed__': 'mGhxVeEtVtPXLNpE8QHEWmZw5iGHuiiXY823dlyxiqoBs6qRi3Sx+C/zB4aTwxCZsUPkkn2+oqmKawVLdpjkDQ==',
    '__zp_sname__': '028df162',
    '__zp_sts__': '1754572959983',
}

response = requests.get('https://www.zhipin.com/wapi/zpgeek/job/detail.json?securityId=OUn9wJ9KYxKOc-b1FxZ3SadByNsIChWhiWxUJHVKPEkG6naXb-eq6ScD_MVwJBqGV8mGHXI-7b0g0TUgSXqWUt1JOxjE4m1BFNVKiN6QNPJ1eBmv6rlP&lid=1ZziRse21sk.search.1&_=1754572977948', headers=headers, cookies=cookies)

print(response)
print(response.text)
